package com.fdb.efp.nls.common.exception;

/**
 * 需求编号:2019D08--
 * 问题编号:
 * 开发人员: caoxin
 * 创建日期:2019/11/6
 * 功能描述:
 * 修改日期:2019/11/6
 * 修改描述:
 */
public class LoanRepaySyncException extends Exception {
    public static final String MESSAGE = "放款还款同步失败";

    private String errorCode;

    public LoanRepaySyncException() {
        super(MESSAGE);
    }

    public LoanRepaySyncException(String message) {
        super(message);
    }

    public LoanRepaySyncException(String errorCode, String message) {
        super(message);
        this.errorCode = errorCode;
    }

    public LoanRepaySyncException(String message, Throwable cause) {
        super(message, cause);
    }

    public LoanRepaySyncException(String errorCode, String message, Throwable cause) {
        super(message, cause);
        this.errorCode = errorCode;
    }

    public LoanRepaySyncException(Throwable cause) {
        super(cause);
    }

    public String getErrorCode() {
        return errorCode;
    }
}
